package o;

import android.text.TextUtils;
import java.util.ArrayList;
import java.util.List;

public class dcn {
    private static dcn ˋ;
    private static final Object ॱ = new Object();
    private List<String> ˊ = new ArrayList();

    public static dcn ˊ() {
        dcn o_dcn;
        synchronized (ॱ) {
            if (ˋ == null) {
                ˋ = new dcn();
            }
            o_dcn = ˋ;
        }
        return o_dcn;
    }

    public void ˎ(List<String> list) {
        ˊ().ˎ();
        if (!CollectCheck.isEmpty((List) list)) {
            this.ˊ.addAll(list);
        }
    }

    public boolean ˊ(String str) {
        if (TextUtils.isEmpty(str) || !this.ˊ.contains(str)) {
            return false;
        }
        dch.ˎ.ˎ("WishDataProvider", str + " had been added wish list.");
        return true;
    }

    public void ˎ() {
        dch.ˎ.ˎ("WishDataProvider", "Clear wish info.");
        this.ˊ.clear();
    }
}
